from django.conf.urls import url
from .views import *

urlpatterns = [
    url(r'^v1/auth/', auth_user),
    url(r'^v1/verifycode/manual', fetch_manual_verifycode),
    url(r'^v1/verifycode/phone', fetch_phone_verifycode),
    url(r'^v1/verifycode/check', check_phone_verifycode),
    url(r'^v1/register/', register),
    url(r'^v1/profile/load', load_profile),
    url(r'^v1/profile/update', update_profile),
    url(r'^v1/account/changeusername', change_username),
    url(r'^v1/account/changepassword', change_password),

    url(r'^v1/upload/token', retrieve_upload_token),

    url(r'^v1/personal/add_image/', add_image),
    url(r'^v1/personal/add_video/', add_video),
    url(r'^v1/personal/delete_photo/', delete_photo),
    url(r'^v1/personal/get_person_photos/', get_person_photos),
    url(r'^v1/personal/change_hope_spouse/', change_hope_spouse),
    url(r'^v1/personal/get_hope_spouse/', get_hope_spouse),
    url(r'^v1/personal/get_person_info/', get_person_info),
]
urlpatterns += USER_ADMIN_CRUD_API.urlpatterns()
